/**
 * 
 */
package com.deep.test.parallel;

import java.util.List;
import java.util.concurrent.Callable;

/**
 * 处理用户列表
 * @author hudepin
 *
 * 2017年12月26日下午1:31:00
 */
public class MemberLevelCallable implements Callable<List<User>>{
	private List<User> users;
	public MemberLevelCallable(List<User> list){
		this.users = list;
	}
	public List<User> call() throws Exception {
		for(User u:users){
			Thread.sleep(50);
			//System.out.println("do process member level,memberId:"+u.getMemberId());
		}
		return users;
	}

}
